/* 注册页整体布局 */
.login-container {
    width: 100%;
    height: 100vh;
    /* 背景图片不变 */
    background-image: url('path/to/your/background-image.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 注册对话框 */
.login-dialog {
    width: 400px;
    height: 500px;
    background-color: rgba(255, 255, 255, 0.9);
    /* 更清晰的背景色 */
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* 注册标题 */
.login-dialog h3 {
    font-size: 26px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

/* 每一行的样式 */
.row {
    display: flex;
    flex-direction: column;
    margin-bottom: 25px;
}

/* 每一行的文字 */
.row span {
    font-size: 18px;
    margin-bottom: 8px;
    color: #555;
}

/* 输入框样式 */
.row input[type="text"],
.row input[type="password"] {
    width: 100%;
    height: 40px;
    font-size: 18px;
    text-indent: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    margin-top: 5px;
}

.row input[type="text"]:focus,
.row input[type="password"]:focus {
    border-color: #4c9aff;
    outline: none;
}

/* 提交按钮样式 */
.row #submit {
    width: 100%;
    height: 40px;
    color: white;
    background-color: black;
    text-align: center;
    line-height: 40px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.row #submit:hover {
    background-color: #3383d1;
}

/* 返回登录按钮样式 */
.register-btn {
    width: 100%;
    height: 40px;
    color: white;
    background-color: black;
    text-align: center;
    line-height: 40px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.register-btn:hover {
    background-color: #2a8b74;
}

/* 错误消息样式 */
.error-message {
    color: red;
    font-size: 14px;
    text-align: center;
    margin-top: 10px;
}


.login-dialog2 {
    width: 400px;
    height: 650px;
    background-color: rgba(255, 255, 255, 0.9);
    /* 更清晰的背景色 */
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}